package com.wenyu.wenyuyuedu.bean.circle;

import java.util.List;

/**
 * Created by Administrator on 2017/3/8.
 * 搜索
 */

public class SearchBean {


    /**
     * code : 1
     * msg : 操作成功
     * info : {"hot":[{"id":"25","title":"啊我的傻二代d"},{"id":"27","title":"珍惜"},{"id":"26","title":"测试"}],"history":[{"search_key":"goo","id":"44"},{"search_key":"神啊","id":"43"},{"search_key":"g","id":"30"}]}
     */

    private int code;
    private String msg;
    private InfoBean info;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public InfoBean getInfo() {
        return info;
    }

    public void setInfo(InfoBean info) {
        this.info = info;
    }

    public static class InfoBean {
        private List<HotBean> hot;
        private List<HistoryBean> history;

        public List<HotBean> getHot() {
            return hot;
        }

        public void setHot(List<HotBean> hot) {
            this.hot = hot;
        }

        public List<HistoryBean> getHistory() {
            return history;
        }

        public void setHistory(List<HistoryBean> history) {
            this.history = history;
        }

        public static class HotBean {
            /**
             * id : 25
             * title : 啊我的傻二代d
             */

            private String id;
            private String title;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }
        }

        public static class HistoryBean {
            /**
             * search_key : goo
             * id : 44
             */

            private String search_key;
            private String id;

            public String getSearch_key() {
                return search_key;
            }

            public void setSearch_key(String search_key) {
                this.search_key = search_key;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }
        }
    }
}
